package com.chenye.configuration;

import lombok.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Auther:chenye
 * @Data:2018/4/11
 * @Description:
 */
@ConfigurationProperties(prefix = "chenye.test")
@Data
@Slf4j
public class TestProperties {
    private static final String DEFAULT_NAME = "chenye";
    private String name = DEFAULT_NAME;
    private Integer age;
    private String nodeAddress;
}
